Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.webengine.gadget.auth.contrib--openUrl

This contribution is part of XML component org.nuxeo.webengine.gadget.auth.contrib inside nuxeo-webengine-gadgets-6.0.jar

Extension Point

Extension point openUrl of component PluggableAuthenticationService.

Contributed Items

  • <openUrl name="GadgetIMG">
          <grantPattern>/nuxeo/site/skin/gadgets/img/.*</grantPattern>
        </openUrl>
  • <openUrl name="GadgetCSS">
          <grantPattern>/nuxeo/site/skin/gadgets/css/.*</grantPattern>
        </openUrl>
  • <openUrl name="GadgetScripts">
          <grantPattern>/nuxeo/site/skin/gadgets/scripts/.*</grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialJS">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.js
          </grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialCSS">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.css
          </grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialXML">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.xml
          </grantPattern>
        </openUrl>

XML Source

<extension point="openUrl" target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService">

    <openUrl name="GadgetIMG">
      <grantPattern>/nuxeo/site/skin/gadgets/img/.*</grantPattern>
    </openUrl>
    <openUrl name="GadgetCSS">
      <grantPattern>/nuxeo/site/skin/gadgets/css/.*</grantPattern>
    </openUrl>
    <openUrl name="GadgetScripts">
      <grantPattern>/nuxeo/site/skin/gadgets/scripts/.*</grantPattern>
    </openUrl>

    <!-- needs to be sync with opensocial.properties -->
    <openUrl name="OpenSocialJS">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.js
      </grantPattern>
    </openUrl>
    <openUrl name="OpenSocialCSS">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.css
      </grantPattern>
    </openUrl>
    <openUrl name="OpenSocialXML">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.xml
      </grantPattern>
    </openUrl>

  </extension>